]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/volume: Request symbolic style for device menu items
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 30 Aug 2022 16:31:06 +0000 (18:31 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 31 Aug 2022 17:26:31 +0000 (17:26 +0000)
We get device icons from gnome-volume-control, which itself may
get them from pulseaudio. That is, we don't have control over
whether icon names are symbolic.

As we do want menu items to use symbolic icons, enforce that
via CSS instead.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5805

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2456>

data/theme/gnome-shell-sass/widgets/_quick-settings.scss

index 869e15f0bf2e1d62ee014e0c7088fd4c720b2acd..d4d10e066c3936d6efbeb50efea0b456682039df 100644 (file)
@@ -64,6 +64,8 @@
   padding: $base_padding*2.75;
   margin: 0 $base_padding*2.75;
 
+  .popup-menu-item > StIcon { -st-icon-style: symbolic; }
+
   & .header {
     spacing-rows: 0.5 * $base_padding;
     spacing-columns: $base_padding*2;